package com.design.pattern.factory.Multiple.factory;

import com.design.pattern.factory.simple.ThirdPartLogin;

/**
 * 多方法工厂测试
 */
public class MultipleFactoryTest {

    public static void main(String[] args) {
        ThirdPartLogin thirdPartLogin = MultipleFactory.
        getMblog();
        //getQq();
        //getWeChat();
        //获取授权
        thirdPartLogin.getUserAuthorization();
        //获取用户数据
        thirdPartLogin.getUserInfo();
        //保存用户数据
        thirdPartLogin.saveUser();
    }
}
